package com.demo1;import org.springframework.beans.factory.annotation.Autowired;import org.springframework.stereotype.Controller;@Controllerpublic class BController {    @Autowired private Student student;    public void getStudent()    {        System.out.println("B用户使用-> " + student);    }}